package ltd.hanamaki.study.oop.demo12;

public class Application {


    public static void main(String[] args) {

        Outer outer = new Outer();
        outer.out();

        /* 通过外部类 对象 实例化 内部类 */
        Outer.Inner inner = outer.new Inner();
        inner.in();
        int id = inner.getId();
        System.out.println(id);
        inner.setId(12);
        int id1 = inner.getId();
        System.out.println(id1);
    }
}
